#define _CRT_SECURE_NO_WARNINGS 1

#include <ctype.h>
#include<stdio.h>
#include<math.h>
int main()
{
    int h = 0;
    int r = 0;
    double p = 3.14;
    scanf("%d%d", &h, &r);
    int v = p * h * pow(r, 2);
    int rev = 10000;
    int result = 0;
    if (rev % v == 0)
        result = rev / v;
    else
        result = rev / v + 1;

    printf("%d\n", result);

    return 0;
}